home *** CD-ROM | disk | FTP | other *** search
/ Logiciels PC 7 / logiciel pc 7.iso / Linux / KDE_1.1pr2_Rpm / readme-redhat-rpms.txt < prev   
Text File  |  1999-02-08  |  12KB  |  331 lines

  1.   Notes on the KDE-1.1 RPM Packages for Red Hat Linux
  2.   The KDE Packaging Team, kde-packager@kde.org
  3.   v1.6, 26 January 1999
  4.  
  5.   Information and quick installation instructions to accompany KDE-1.1
  6.   "rh42", "rh50egcs", "rh5x" and "rh5xegcs11" packages for Red Hat Linux
  7.   4.2, 5.0, 5.1 and 5.2, available at ftp.kde.org.
  8.  
  9.   The i386 versions of these RPM packages  are available at
  10.   ftp://ftp.kde.org/pub/kde/stable/1.1/contrib/distribution/rpm/ in the
  11.   RReeddHHaatt--44..22//ii338866, RReeddHHaatt--55..00//eeggccss//ii338866, RReeddHHaatt--55..11//ii338866, and
  12.   RReeddHHaatt--55..22//ii338866 subdirectories.  RPM packages for other architectures
  13.   may be available; substitute the architecture name (e.g, alpha) for
  14.   i386 in these instructions,
  15.  
  16.  
  17.  
  18.       11.. WWhhiicchh vveerrssiioonn ooff tthhee QQTT ttoooollkkiitt ttoo uussee??
  19.         These rpms are built to use QT v1.42.  The rpm packages should
  20.         be available where you obtain the KDE rpms; if not look for them
  21.         at ftp://ftp.troll.no/pub/contrib/qt-packages/linux
  22.  
  23.         For RH4.2 (Red Hat 4.2), get the RPM package
  24.         qt-1.42-1rh42.i386.rpm.  This is compiled with gcc-2.7.2.3 and
  25.         libc5.
  26.  
  27.         For RH5.0, RH5.1, or RH5.2, get the RPM package
  28.         qt-1.42-3rh51.i386.rpm.  This is compiled with egcs-1.0.3a and
  29.         glibc2.  (For those who requested it, this package now includes
  30.         the qimageio extension.)
  31.  
  32.         (A special series of "rh5xegcs11" KDE rpms compiled with
  33.         egcs-1.1 may be available for the Digital/Compaq (tm) alpha/AXP
  34.         processor architecture.  These will require special
  35.         qt-1.42-3rh5xegcs11.alpha.rpm RPM packages  compiled with
  36.         egcs-1.1.)
  37.  
  38.         If you plan to compile additional KDE applications, also obtain
  39.         the corresponding qt-devel RPM package.
  40.  
  41.         If QT-2.0 maintains backwards compatibilty, appropriate
  42.         qt-2.0-*rh*.i386.rpm RPM packages may work with KDE-1.1.
  43.  
  44.  
  45.      22.. WWhhyy aarree tthheerree vvaarriioouuss ddiiffffeerreenntt sseettss ooff KKDDEE RRPPMM ppaacckkaaggeess??
  46.         The evolution of the Red Hat distribution means that there are
  47.         binary incompatibilities between different releases (except
  48.         between RH5.1 and RH5.2, which use the same RPM package).
  49.  
  50.      +o  The "rrhh4422" packages are for Red Hat 4.2, compiled with
  51.         gcc-2.7.2.3 and libc5,
  52.  
  53.      +o  The "rrhh5500eeggccss" packages are for Red Hat 5.0, and are compiled
  54.         with egcs-1.0.3a glibc2, and libncurses-3.0
  55.  
  56.      +o  The "rrhh55xx" packages are for Red Hat 5.1 and 5.2, and are
  57.         compiled with egcs-1.0.3a, glibc2, and libncurses-4.0.
  58.  
  59.      +o  The "rrhh55xxeeggccss1111" packages are for Red Hat 5.1 and 5.2 ((pprroobbaabbllyy
  60.         aavvaaiillaabbllee oonnllyy ffoorr tthhee DDiiggiittaall//CCoommppaaqq ((ttmm)) aallpphhaa ((AAXXPP)) pprroocceessssoorr
  61.         aarrcchhiitteeccttuurree)) are compiled with the latest egcs-1.1 compiler, as
  62.         some alpha users have requested this.  These will also require
  63.         that libstdc++-2.0.9 is installed.
  64.  
  65.         Since the "rh50egcs" RPM packages are nnoott compiled with the
  66.         gcc-2.7.2.3 compiler supplied with RH5.0, they require that the
  67.         C++ library libstdc++-2.8.0 taken from the Red Hat 5.1 or 5.2
  68.         distribution is added to your RH5.0 installation.  (KDE RPM
  69.         packages for RH5.0 compiled with the gcc-2.7.2.3 compiler and
  70.         glibc2 currently have broken PAM support, and will not be
  71.         released unless this is fixed).
  72.  
  73.  
  74.  
  75.  
  76.      33.. TThhiinnggss ttoo ddoo bbeeffoorree iinnssttaalllliinngg tthhee RRPPMM ppaacckkaaggeess..
  77.         (For more information, see the Installation Guide for the KDE
  78.         RPM packages for Red Hat Linux; this will be available in
  79.         /usr/doc/KDE-1.1/ after the kdesupport RPM package is
  80.         installed).
  81.  
  82.  
  83.         _O_N_L_Y _I_N_S_T_A_L_L _K_D_E _I_F _Y_O_U _C_U_R_R_E_N_T_L_Y _H_A_V_E _A _W_O_R_K_I_N_G _X _W_I_N_D_O_W _S_Y_S_T_E_M
  84.         _O_N _Y_O_U_R _R_E_D _H_A_T _S_Y_S_T_E_M_.  _F_I_X _A_N_Y _P_R_O_B_L_E_M_S _W_I_T_H _"_X_" _B_E_F_O_R_E
  85.         _I_N_S_T_A_L_L_I_N_G _K_D_E_.
  86.  
  87.         Then login as the superuser (root).
  88.  
  89.         The standard KDE installation is in $KDEDIR = /opt/kde, but the
  90.         RPM packages are rreellooccaattaabbllee: you can install them to another
  91.         location such as /usr/kde with the  rpm ... --prefix=/usr/kde
  92.         option.  If you use this option, you will have to make sure that
  93.         any KDE applications you later install that are not part of this
  94.         distribution install to the correct location.
  95.  
  96.         You will need 30-40Mb disk space for a full KDE installation.
  97.         Type "df" to see available space (in Kb) on your disk
  98.         partitions.
  99.  
  100.         Ideally, /opt is the mount point of a separate partition, but
  101.         this is not part of the current Linux File System Standard
  102.         followed by Red Hat.  (It is however part of the new FFiillee
  103.         HHeeiirraarrcchhyy SSttaannddaarrdd (FHS) v2.0, which has been announced to be
  104.         part of the forthcoming Linux Standard Base (LSB) standard).  If
  105.         you do not have (or do not wish to create) an /opt partition,
  106.         (and do not wish to relocate the RPM packages), you can either:
  107.  
  108.  
  109.         1. Do nothing: in this case, KDE will install to a directory
  110.            /opt/kde on the root partition /.  (If not enough space is
  111.            available, this may cause problems by filling your root
  112.            partition!)
  113.  
  114.         2. Create a directory /opt, and make /opt/kde a symbolic link to
  115.            a directory on a partition with free space, e.g.:
  116.  
  117.  
  118.              mkdir /opt
  119.              mkdir /usr/local/kde
  120.              ln -s ../usr/local/kde /opt/kde
  121.  
  122.  
  123.  
  124.  
  125.         This provides the greatest flexibility, as other packages that
  126.         install to /opt can be then be placed on different partitions
  127.         using symbolic links.  (DDoo tthhiiss BBEEFFOORREE iinnssttaalllliinngg KKDDEE !! ):
  128.  
  129.         If you have an older version of KDE installed you should:
  130.  
  131.      +o  uninstall if it is older than KDE-1.1 (or move it out of the way
  132.         so the installation to /opt/kde will be clean).
  133.          IInn ppaarrttiiccuullaarr,, yyoouu mmaayy hhaavvee pprroobblleemmss oonn RReedd HHaatt 55..11//55..22 iiff yyoouu
  134.         uuppggrraaddee ffrroomm kdesupport-1.0-*rh51, as the kdesupport-1.1-*rh5x
  135.         rpms no longer supply libgdbm.  (Sorry: rpm _s_h_o_u_l_d provide
  136.         graceful upgrades without uninstalling the KDE-1.1 rpms, but our
  137.         decision (starting with KDE-1.1) to rely on Red Hat's RPM
  138.         packages for libgdbm, libjpeg, and libungif has made that
  139.         difficult this time.)
  140.  
  141.  
  142.         RedHat 5.1/5.2 users must either first uninstall kde*-1.0, or
  143.         use  rpm --nodeps ...  when upgrading.  Also  make sure the Red
  144.         Hat rpm packages gdbm, libjpeg-6b, and libungif are installed.
  145.         (For Red Hat 5.1, the last two packages must be the updated RPM
  146.         packages found at Red Hat's ftp site ftp://updates.redhat.com/
  147.         in the jpeg subdirectory of the Red Hat 5.1 updates).  (This
  148.         only applies to the "rh5x" rpms).
  149.  
  150.  
  151.      +o  remove any special KDE customizations in system files like
  152.         /etc/profile to set KDEDIR, put KDE executables in the system
  153.         path, etc.  This will be handled automatically by this
  154.         installation (by scripts in /etc/profile.d), and your older
  155.         customizations may interfere with this.
  156.  
  157.  
  158.  
  159.      44.. IInnssttaallll lliibbssttddcc++++ iiff nneeeeddeedd ((RReedd HHaatt 55..00,, oorr iiff uussiinngg eeggccss--11..11))
  160.         Red Hat 5.0 users need to obtain the libstdc++-2.8.0 RPM package
  161.         from the Red Hat 5.2 (or 5.1) distribution, and install it on
  162.         your Red Hat 5.0 system.
  163.  
  164.         Get it from
  165.         ftp://ftp.redhat.com/pub/redhat/redhat-5.2/i386/RedHat/RPMS/libstdc++-2.8.0-14.i386.rpm
  166.         and install it:
  167.  
  168.  
  169.           rpm -Uvh libstdc++-2.8.0-*.i386.rpm
  170.  
  171.  
  172.  
  173.  
  174.      If you intend to compile KDE applications for your Red Hat 5.0
  175.      system, you will also need to install the egcs-1.0.3a compiler from
  176.      the Red Hat 5.2 distribution (or the egcs-1.0.2 compiler from Red
  177.      Hat 5.1) on your Red Hat 5.0 system.  See the document ggcccc__ttoo__eeggccss--
  178.      HHOOWWTTOO for details (kdesupport installs it in /usr/doc/KDE-1.0).
  179.  
  180.      If you are still using Red Hat 5.0 (Red Hat's first glibc release)
  181.      you should seriously consider upgrading to Red Hat 5.2.
  182.  
  183.      Similarly, if you are using the "rh5xegcs11" RPM packages compiled
  184.      with egcs-1.1 for the alpha/AXP processor, you should  at this time
  185.      install the libstdc++-2.0.9 RPM package that accompanies them.
  186.  
  187.  
  188.  
  189.      55.. IInnssttaalllliinngg tthhee RRPPMM ppaacckkaaggeess..
  190.         From the directory that contains the RPM packages: First install
  191.         QT:
  192.  
  193.  
  194.           rpm -Uvh qt-1.41-*rh*.i386.rpm
  195.  
  196.  
  197.  
  198.  
  199.      where *rh* is 1rh42 for RH4.2, and 1rh51 for RH5.0, RH5.1 and
  200.      RH5.2.  Also install the corresponding qt-devel RPM package if you
  201.      plan to compile any KDE applications.
  202.  
  203.      Now install the KDE base system:
  204.  
  205.  
  206.           rpm -Uvh kdesupport-1.1-*rh*.i386.rpm
  207.           rpm -Uvh kdelibs-1.1-*rh*.i386.rpm
  208.           rpm -Uvh kdebase-1.1-*rh*.i386.rpm
  209.  
  210.  
  211.  
  212.  
  213.      where *rh* is *rh42 for RH4.2, *rh50egcs for RH5.0, and *rh5x for
  214.      RH5.1, RH5.2.
  215.  
  216.  
  217.  
  218.      Now install the optional KDE RPM packages
  219.  
  220.  
  221.           rpm -Uvh k*-1.1-*rh*.i386.rpm
  222.  
  223.  
  224.  
  225.  
  226.      where k* is any of: kdeadmin, kdegames, kdegraphics, kdemultimedia,
  227.      kdenetwork, kdetoys, kdeutils,  or korganizer.
  228.  
  229.  
  230.      66.. TThhiinnggss ttoo ddoo aafftteerr iinnssttaalllliinngg tthhee RRPPMM ppaacckkaaggeess..
  231.         To use the KDE X Display Manager kdm as a substitute for xdm,
  232.         type
  233.  
  234.  
  235.           /opt/kde/bin/kdm_on
  236.  
  237.  
  238.  
  239.  
  240.      kdm_on makes small changes to two Red Hat configuration files
  241.      (/etc/inittab, /etc/X11/xdm/Xsetup_0). (These changes can be
  242.      reversed by typing "/opt/kde/bin/kdm_off").  If the system is
  243.      already running xdm in runlevel 5, (and no X Window sessions are
  244.      active) type
  245.  
  246.  
  247.           telinit 3 ; telinit 5
  248.  
  249.  
  250.  
  251.  
  252.      to shut down xdm and start kdm.
  253.  
  254.      For each user who wants to use KDE as their desktop, type
  255.  
  256.  
  257.           /opt/kde/bin/usekde <username>
  258.  
  259.  
  260.  
  261.  
  262.      (Users may also do this for themselves by just typing "usekde"
  263.      after they next log in.)  A hidden file .Xclients installed in the
  264.      user's home directory starts the KDE desktop in their next X Window
  265.      session; they can simply delete this file in the (unlikely) event
  266.      that they no longer wish to use KDE.
  267.  
  268.      It is also simple to  configure the system  so all users get a KDE
  269.      desktop by default, and to customize the initial KDE desktop that
  270.      they see.  For details, see IInnssttaallllaattiioonn GGuuiiddee, which also includes
  271.      troubleshooting hints, and is installed by the kdesupport RPM
  272.      package into /usr/doc/KDE-1.0, along with other Red Hat-specific
  273.      documentation.
  274.  
  275.      The KDE configuration initially installed by these RPM packages
  276.      places icons for printing, and for mounting/unmounting floppy-disk
  277.      and cdrom drives on the desktop.  The System Manager must ensure
  278.      these are correctly configured for the system before they will work
  279.      (or delete them if they are not wanted).  The System Manager  may
  280.      wish to customize the default KDE Desktop (that is installed by the
  281.      "usekde" script) for your system; see the Installation Guide for
  282.      more details.
  283.  
  284.  
  285.   Now enjoy KDE on your Red Hat system next time you open an X Window
  286.   session!
  287.  
  288.   The KDE Packaging Team
  289.  
  290.   Send comments or corrections to: redhat-rpms@kde.org
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.